.mixmin_items() {
  display: flex;
  flex-wrap: wrap;
  // justify-content: space-around;
  align-content: flex-start;
  padding: 8px 4px 8px 8px;
  border: 1px solid #e6eaef;
  border-radius: 2px;
  overflow-y: auto;
}

.mixmin_item() {
  display: inline-block;
  width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 24px;
  padding-left: 8px;
  padding-right: 8px;
  margin: 0 4px 4px 0;
  line-height: 24px;
  color: #686c78;
  text-align: center;
  border: 1px solid #e6eaef;
  border-radius: 2px;
}

.task-info {
  flex: 1;
  border-left: 1px solid #e6eaef;
  padding-left: 46px;

  .task-name {
    margin-bottom: 24px;
    .name {
      font-size: 16px;
      color: #1e1f23;
    }
    .type {
      display: inline-block;
      margin-left: 16px;
      height: 24px;
      width: 110px;
      line-height: 24px;
      border: 1px solid #e6eaef;
      border-radius: 12px;
      text-align: center;
      font-size: 12px;
      color: #686c78;
    }
  }

  .task-mange-target-card {
    margin-top: 16px;

    &:first-child {
      margin-top: 0;
    }
  }
  .detail-item {
    margin-top: 16px;

    .name {
      display: inline-block;
      width: 140px;
    }

    &:first-child {
      margin-top: 0;
    }
  }

  .task-info-detail {
    flex: 1;
    display: flex;
    .task-info-left {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin-right: 50px;

      .ip-port-item {
        flex: 0 0;

        &.web {
          .items {
            height: 200px;
          }
          .empty {
            margin-top: 60px;
          }
        }
      }

      .title {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 8px;

        .name {
          font-size: 14px;
          color: #686c78;
        }

        .show-more {
          font-size: 12px;
          color: #999ea8;
          cursor: pointer;
        }
      }

      .items {
        .mixmin_items;
        height: 68px;

        .item {
          .mixmin_item;
        }
      }
      .empty {
        width: 100%;
        text-align: center;
        &.cronjob {
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
      .ant-empty-normal {
        margin: 0;
      }
      .ant-empty-normal .ant-empty-image {
        height: 24px;
      }
    }
    .task-info-right {
      flex: 1;
      margin-left: 46px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
  }
}

.more-strategy {
  .items {
    padding: 8px 4px 8px 8px;
    border: 1px solid #e6eaef;
    border-radius: 2px;
    .item {
      display: inline-block;
      width: 360px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      height: 24px;
      padding-left: 8px;
      padding-right: 8px;
      margin: 0 4px 4px 0;
      line-height: 24px;
      color: #686c78;
      text-align: center;
      border: 1px solid #e6eaef;
      border-radius: 2px;
    }
  }
  .copy-img {
    width: 25px;
    cursor: pointer;
    position: absolute;
    right: 40px;
    top: 80px;
    z-index: 999;
  }
}
